x86emul: correct 64-bit mode repeated string insn handling with zero count
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Dec 2016 14:51:57 +0000 (15:51 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Dec 2016 14:51:57 +0000 (15:51 +0100)
commit79e996a89f695db0d8af745a04121b778100be99
tree39ee6f3f69903e93e2f1a246d9313600ac374687
parent847464b5d9bfdae3120bd9cc7e86aa42867d8085
x86emul: correct 64-bit mode repeated string insn handling with zero count

When a 32-bit address override is in effect these zero-extend all
registers which would also get updated in case of non-zero repeat
count.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c